<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<html>
<jsp:include page="../Head.jsp"></jsp:include>  
 <script src="javascript/setConnectionInfo.js" type="text/javascript" charset="utf-8"></script>
  <body class='tundra'>
  <div align="center">
  <form method="post" action="Connection/ProcessConnection.jsp"  dojoType="dijit.form.Form" >
  <table style="border: 1px solid #9f9f9f;" cellspacing="10">
  <tr>
    <td colspan="2">数据库连接设置</td>
  </tr>
  <tr>
    <td width="12%">类型</td>
    <td width="88%">
      <select name="dbType" id="dbType" dojoType="dijit.form.FilteringSelect" onchange="setDrivers(this.value);">
        <option value="MsSqlServer2000">MsSqlServer2000</option>
        <option value="Oracle">Oracle</option>
        <option value="MySql">MySql</option>
	  
      </select>
  </td>
  </tr>
  <tr>
    <td>驱动</td>
    <td>
    <input type="text" name="driverStr" id="driverStr" value='com.microsoft.jdbc.sqlserver.SQLServerDriver' dojoType="dijit.form.ValidationTextBox" style="width: 25em;"  trim="true"  propercase="false">
    </td>
  </tr>
  <tr>
    <td>地址</td>
    <td>
     <input type="text" name="serverAddr" id="serverAddr" value='localhost' dojoType="dijit.form.ValidationTextBox" style="width: 25em;" trim="true"  propercase="false">
    </td>
  </tr>
  <tr>
    <td>端口</td>
    <td>
    <input type="text" name="dbPort" id="dbPort" value='1433' dojoType="dijit.form.ValidationTextBox" style="width: 25em;"  trim="true"  propercase="false">
    </td>
  </tr>
  <tr>
    <td>数据库名</td>
    <td>
    <input type="text" name="dbName" id="dbName" value='ProjectManager' dojoType="dijit.form.ValidationTextBox" style="width: 25em;" trim="true"  propercase="false">
    </td>
  </tr>
  <tr>
    <td>用户名</td>
    <td>
    <input type="text" name="userName" id="userName" value='CustomSMS' dojoType="dijit.form.ValidationTextBox" style="width: 25em;" trim="true"  propercase="false">
    </td>
  </tr>
  <tr>
    <td>密码</td>
    <td>
      <input type="text" name="userPass" id="userPass" value='SqlMsde@InfoxEie2000' dojoType="dijit.form.ValidationTextBox" style="width: 25em;" trim="true"  propercase="false">
    </td>
  </tr>
  <tr>
    <td colspan="2" align="center">
    <button dojoType="dijit.form.Button" type="submit" id='btset1'>设置  </button>
    <button dojoType="dijit.form.Button" type="reset" id='btreset1'>重置  </button>
    </td>
  </tr>
</table>
  </form>
  </div>
  <jsp:include page="../Foot.jsp"></jsp:include>  
  </body>
</html>
